package com.oxygen.pt.pojo.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor(force = true)
public class DateScope {
    private final LocalDate startDate;
    private final LocalDate endDate;


    public DateScope(LocalDate startDate, LocalDate endDate) {
        this.startDate = startDate;
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return startDate + " ~ " + endDate;
    }
}
